import {request} from '@@/plugin-request';

export async function getAllByPage(body) {
  return request('/admin/xxlJob/log/list', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
  });
}

export async function kill(body) {
  return request(`/admin/xxlJob/log/kill/${body}`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
  });
}

export async function execLog(body) {
  return request(`/admin/xxlJob/log/execLog/${body}`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
  });
}






